{include file="public/header" /}
<body>
<section id="leftNav">
    <div class="left-nav-title">
        <h2>网站运营管理系统</h2>
        <i class="fa fa-navicon" id="foldLeftNav" title="折叠菜单"></i>
    </div>
    <ul id="nav">
        {:left_nav()}
    </ul>

</section>
<section id="navTab">
    <div class="layui-tab" lay-filter="xbs_tab">
        <ul class="layui-tab-title">
            <li class="nav-item layui-this">
                控制台
            </li>
        </ul>

        <ul id="sysTool">
            <li class="layui-nav-item">
                <a href="javascript:;" onclick="clearAll(this)" data-GetUrl="{:url('admin/index/clearAll')}">清理缓存</a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;">{$Think.cookie.u_name}</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a onclick="xadmin.open('个人信息','{:url(\'user/personal\')}',600,330)">个人信息</a>
                    </dd>

                    <!-- 二级菜单 -->
                    <!--<dd>
                        <a onclick="xadmin.open('个人信息','')">个人信息</a>
                    </dd>
                    <dd>
                        <a onclick="xadmin.open('切换帐号','')">切换帐号</a>
                    </dd>-->
                    <dd>
                        <a href="{:url('admin/login/logout')}">退出</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item to-index">
                <a href="/" target="_blank">前台首页</a>
            </li>
        </ul>

        <div id="navContent" class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src="{:url('index/welcome')}" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
    </div>
</section>
</body>
<script>
    // 是否开启刷新记忆tab功能
    var is_remember = false;
</script>
</html>